<template>
<grid-view>
    <goods-list-item v-for="(item, index) in goods" :key="index" :goodsItem="item"></goods-list-item>
</grid-view>
</template>

<script>
import GridView from 'common/gridview/GridView'
import GoodsListItem from './GoodsListItem'

export default {
    name: 'GoodsList',
    components: {
        GridView,
        GoodsListItem
    },
    props: {
        goods: {
            type: Array,
            default: []
        }
    }
}
</script>

<style scoped>
</style>
